package sp.dao.book;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import sp.pojo.BookCategory;

public interface BookCategoryDAO{
	
	
	public List<BookCategory> listAllCategorys() throws Exception;
	
	/**
	 * 目录联动查询
	 * @param parentId
	 * @return
	 */
	public List<BookCategory> listBookCatgorys(@Param("parentId") Integer parentId) throws Exception;
}
